package com.example.blog.modules.log.service;

import com.example.blog.modules.log.dto.OperationLogDTO;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

public interface OperationLogService {
    
    void save(OperationLogDTO logDTO);
    
    Page<OperationLogDTO> findByUsername(String username, Pageable pageable);
    
    Page<OperationLogDTO> findByOperation(String operation, Pageable pageable);
    
    Page<OperationLogDTO> findAll(Pageable pageable);
    
    void deleteById(Long id);
    
    void deleteByIds(Long[] ids);
} 